home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / RIBSolidEnd.m < prev    next >
Encoding:
Text File  |  1995-03-22  |  630 b   |  34 lines

  1. // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
  2. // see COPYRIGHT for reuse legalities
  3. //
  4.  
  5. #import "RIBSolidEnd.h"
  6.  
  7. @implementation RIBSolidEnd
  8.  
  9. + initialize { return [RIBSolidEnd setVersion:1], self; }
  10.  
  11. - (BOOL)pushesOrPopsCTM { return YES; }
  12. - (BOOL)popsCTM { return YES; }
  13.  
  14. - renderSelf:(WW3DCamera *)camera startingAt:(RtFloat)shutterOpenTime endingAt:(RtFloat)shutterCloseTime
  15. {
  16.   RiSolidEnd();
  17.  
  18.   return self;
  19. }
  20.  
  21. - writeEve:(NXStream *)stream atTabLevel:(int)tab
  22. {
  23.    int  i;
  24.  
  25.  
  26.    for (i = 0; i < tab; i++)
  27.    {  NXPrintf(stream, "\t");
  28.    }
  29.    NXPrintf(stream, "SolidEnd;"); 
  30.    return self;
  31. }
  32.  
  33. @end
  34.